package com.example.projectcode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.projectcode.model.Student;
import com.mysql.cj.log.Log;

import java.util.List;


public interface StudentService extends IService<Student> {

       //根据学生账号和密码查询数据库
       Student selectStudent(String username, String password);

       //插入学生记录，完成注册
       boolean insertStudent(Student student);


       //根据学生id删除学生信息
       int deleteStudentById(Integer id);

       int updateStudent(Student student);


    List<Student> selectAllStudents();
}
